.history {
    max-width: 1200px;
    margin: 0 auto;
}

.history h2 {
    text-align: center;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.search-form select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    min-width: 120px;
}

.search-form button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 80px;
}

.search-form button:hover {
    background-color: #45a049;
}

.history-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
    position: sticky;
    top: 0;
}

tr:hover {
    background-color: #f9f9f9;
}

.error {
    color: red;
    padding: 10px;
    background-color: #ffebee;
    border-radius: 4px;
}

.no-data {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-top: 20px;
} 